package com.salon.server.db;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * �������, ��������� ������� ����������������� �������.
 * @see PreparedStatementFactory, LogableStatementFactory
 */
public class StandardStatementFactory implements PreparedStatementFactory {

	public PreparedStatement create(Connection conn, String sql)
			throws SQLException {
		return conn.prepareStatement(sql);
	}

	public PreparedStatement create(Connection conn, String sql,
			int autoGeneratedKeys) throws SQLException {
		return conn.prepareStatement(sql, autoGeneratedKeys);
	}

}
